/*
 * @Description: file content
 * @Author: oooh
 * @Date: 2024-04-23 17:55:21
 * @LastEditors: oooh
 * @LastEditTime: 2024-05-09 16:56:22
 * @FilePath: \Civil_Servant_Performance_PC\src\api\work-approval\assessment-grades\index.js
 */
import request from '@/utils/request'

// 站办所季度等次
export function rating(data) {
  return request({
    url: '/api/deptQuarterScoreCollects/rating',
    method: 'patch',
    data: data
  })
}

// 部门季度绩效汇总列表
export function list(query) {
  return request({
    url: '/api/deptQuarterScoreCollects',
    method: 'get',
    params: query
  })
}

// 审核通过列表
export function listResult(query) {
  return request({
    url: '/api/deptQuarterScoreCollects/results',
    method: 'get',
    params: query
  })
}

// 考评定等审核
export function approval(data) {
  return request({
    url: '/api/deptQuarterScoreCollects/rating/audits',
    method: 'patch',
    data: data
  })
}
